package top.italks.demo.service.impl;

import top.italks.demo.entity.AliOrderEntity;
import top.italks.demo.mapper.AliOrderMapper;
import top.italks.demo.service.AliOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 支付宝支付交易单接口实现
 *
 * @Author: 陈忠波
 * @Date: 2019/09/10 04:11
 */
@Service
public class AliOrderServiceImpl implements AliOrderService {

    @Resource
    private AliOrderMapper aliOrderMapper;

    @Override
    public Integer add(AliOrderEntity aliOrderEntity) {
        return aliOrderMapper.add(aliOrderEntity);
    }

    @Override
    public Integer modifyByOutTradeNo(AliOrderEntity aliOrderEntity) {
        return aliOrderMapper.modifyByOutTradeNo(aliOrderEntity);
    }

}
